package com.huatai.datacenter.entity.query;

import lombok.Data;

import java.util.List;

/**
 * @program: ht-system
 * @description: 根据时间区间获取数据
 * @author: songxiude
 * @create: 2023-04-25 16:56
 **/
@Data
public class Query {

	/**
	 * 取值开始时间
	 */
	private Object start;
	/**
	 * 取值结束时间
	 */
	private Object end;
	/**
	 * 返回结果毫秒级
	 */
	private boolean msResolution = true;
	/**
	 * 返回结果毫秒级
	 */
	private boolean useCalendar = true;
	/**
	 * 返回结果毫秒级
	 */
	private String timezone = "Asia/Shanghai";
	/**
	 * 附加信息集合
	 */
	private List<Queries> queries;

	public Query() {
	}

	public Query(Object start, Object end, List<Queries> queries) {
		this.start = start;
		this.end = end;
		this.queries = queries;
	}

}
